package cool.ale.errorMessage.constant;

/**
 * The <code>cool.ale.common.invariant.constant.PlaceholderConst</code> class have to be described
 *
 * <p>
 * The <code>PlaceholderConst</code> class have to be detailed For example:
 * <p>
 *
 * @author dujlc
 * @date 2022/12/3 0:38
 * @see
 * @since 1.0
 */
public class AleErrorMessageRedisLuaTemplateConst {

    /**
     *  返回成功的标志
     */
    public static final String SUCCESS_FLAG = "0";

    /**
     *  set 一个key value时的模板
     */
    public static final String SET = "redis.call('set', KEYS[%d], ARGV[%d]) ";

    /**
     *  返回成功的模板
     */
    public static final String RETURN_SUCCESS = "return 0 ";
}
